<template>
    <div>
     <h1>第一个</h1>
     <ul>
      <li>1111</li>
      <li>1111</li>
      <li>1111</li>
      <li>1111</li>
      <li>1111</li>
     </ul>
    </div>
</template>
<script>
export default {
 
}
</script>
<style>
/* 容器样式 */
div {
    max-width: 600px;
    margin: 2rem auto;
    padding: 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    font-family: 'Segoe UI', system-ui, sans-serif;
}

/* 标题样式 */
h1 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #ecf0f1;
}

/* 列表容器 */
ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.2rem;
}

/* 列表项样式 */
li {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #e3e6e9;
}

/* 悬停效果 */
li:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #d6dbe0;
}

/* 自定义列表符号 */
li::before {
    content: "✔";
    color: #3498db;
    font-size: 1.2rem;
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
}

/* 文本样式 */
li span {
    display: block;
    margin-left: 3rem;
    color: #34495e;
    font-size: 1rem;
    line-height: 1.6;
    font-weight: 400;
}

/* 响应式调整 */
@media (max-width: 768px) {
    li::before {
        left: 0.8rem;
        font-size: 1rem;
    }
    
    li span {
        margin-left: 2rem;
    }
}
</style>
